﻿using DiffuseEnjoyIdle.IService;
using Quartz;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DiffuseEnjoyIdle.TimedTaskCentre.Quartz
{
    public class QuartzJob:IJob
    {
        private static IUserService _userService;
        public QuartzJob(IUserService  userService)
        {
            _userService = userService;
        }


        public async Task Execute(IJobExecutionContext context)
        {
            await _userService.Test();
        } 
    }
}
